#include "HardwareProfile.h"
const unsigned char LEDNum[18]=
{
	0b00111111,	//0
	0b00000110, //1
	0b01011011,	//2
	0b01001111,	//3
	0b01100110,	//4
	0b01101101,	//5
	0b01111101,	//6
	0b00000111,	//7
	0b01111111,	//8
	0b01101111,	//9
	0b11011100, //a
	0b01111100, //b
	0b00111001, //c
	0b01100011, //d
	0b01111001, //e
	0b01110001, //f
	0b00000000, //null
	0b01000000
};
void LED_FireTime(void)
{
 	unsigned char x;
	x=LED[disIndex];
	if(gFlags.Bits.bSet)
	{		
		if(!gFlags.Bits.bShow)
		{
			LED[disIndex]=16;
		}
	}
	TM1638_WriteData(6,LEDNum[LED[0]]);
	TM1638_WriteData(4,LEDNum[LED[1]]);
	TM1638_WriteData(2,LEDNum[LED[2]]);
	TM1638_WriteData(0,LEDNum[LED[3]]);
	LED[disIndex]=x;
}

